StoreEngine\API\Payment S

Total Complexity 38
Dependencies 7
Dependents 1
Total lines 288
Lines of code 230
Logical lines of code 93
Comment lines 20
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_payments()
A
40 8 64
create_payment()
S
47 6 37
get_payment()
S
54 7 19
prepare_item_for_response()
S
51 6 23
register_routes()
S
47 1 43
get_item()
S
62 3 11
check_payment_permissions()
S
67 2 8
init()
S
69 1 6
check_admin_permissions()
S
80 1 3
permissions_check()
S
80 1 3
collect_payment()
S
77 1 3
prepare_links()
S
64 1 10